﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/mspAdmin.Master"
    CodeBehind="NewsManage.aspx.cs" Inherits="BookOnline.Admin.Include.NewsManage" %>

<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
    <form id="form1" runat="server">
    <div style="float:right;">
        
        <asp:Button ID="btnAddNew" runat="server" Text="Add News " CssClass="bt_blue" />
        
    </div>
    <asp:GridView ID="grNews" runat="server" AutoGenerateColumns="False" CellPadding="4"
        ForeColor="#333333" GridLines="None" CssClass="grid-data">
        <AlternatingRowStyle BackColor="White" Width="100%" />
        <Columns>
            <asp:BoundField DataField="NewsID" HeaderText="NewsID" />
            <asp:BoundField DataField="NewsTitle" HeaderText="NewsTitle" />
            <asp:BoundField DataField="NewsText" HeaderText="NewsText" />
            <asp:BoundField DataField="NewsStatus" HeaderText="NewsStatus" />
            <asp:TemplateField HeaderText="Edit">
                <ItemTemplate>
                    <asp:LinkButton ID="lbtEdit" runat="server" CssClass="btnedit">Edit</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Delete">
                <ItemTemplate>
                    <asp:LinkButton ID="lbtDelete" runat="server" CssClass="btndel">Delete</asp:LinkButton>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F5F7FB" />
        <SortedAscendingHeaderStyle BackColor="#6D95E1" />
        <SortedDescendingCellStyle BackColor="#E9EBEF" />
        <SortedDescendingHeaderStyle BackColor="#4870BE" />
    </asp:GridView>
    </form>
</asp:Content>
